'use strict';

module.exports = appInfo => {
    const config = exports = {};

    // use for cookie sign key, should change to your own and keep security
    config.keys = appInfo.name + '_123';
    config.view = {
        defaultViewEngine: 'nunjucks',
        mapping: {
            '.html': 'nunjucks',
        },
    };
    config.news = {
        port1: '9999/api/wyfpww', //�˿�
        serverUrl: 'http://84.12.68.103', //�ӿڹ������֣�ͨ��this.config.news����
    };
    config.security = {
        csrf: {
            enable: false,
        },
    };
    config.httpclient = {
        request: {
            // Ĭ�� request ��ʱʱ��
<<<<<<< HEAD
            timeout: 300 * 1000,
=======
            timeout: 30 * 1000,
>>>>>>> 3f67ce9be1dc4d50dde765bbc2d11cdfaa00c7ae
        },
    };

    // add your config here
    config.middleware = [];

    return config;
};